<?php
session_start();
require '../../config.php';
$idrol=$_REQUEST['idrol'];
$idmod=$_REQUEST['idmod'];
$query="delete from permisos where (idrol= ".$idrol." and idmodulo = ".$idmod.")";
mysql_query($query) or die(mysql_error());
mysql_close($conexion);
echo("ok");
?>